package SQLx::Querylet::Plugin::DB2;

use strict;
use warnings;

use base qw( SQL::Querylet::Plugin );

sub limit {
    my $self = shift;
    my ($n) = @_;
    return {
        sql => "FETCH FIRST $n ROWS ONLY",
        after => 'ORDER',
    };
}

1;

